package cn.wizzer.app.web.modules.controllers.platform.user.account;

import cn.wizzer.app.user.modules.services.account.UserAccountService;
import cn.wizzer.app.user.modules.services.UserRestrictionService;
import com.alibaba.dubbo.config.annotation.Reference;
import org.apache.shiro.authz.annotation.RequiresPermissions;
import org.nutz.ioc.loader.annotation.Inject;
import org.nutz.ioc.loader.annotation.IocBean;
import org.nutz.log.Log;
import org.nutz.log.Logs;
import org.nutz.mvc.annotation.At;
import org.nutz.mvc.annotation.Ok;

@IocBean
@At("/platform/user/account")
public class AccountController {
    private static final Log log = Logs.get();

    @Inject
    @Reference
    private UserAccountService accountService;

    @Inject
    @Reference
    private UserRestrictionService restrictionService;

    @At("")
    @Ok("beetl:/platform/user/account/index.html")
    @RequiresPermissions("user.account")
    public void index() {

    }

}
